package com.fengniu.ejb.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name = "SiteTable", schema = "FENGNIU", uniqueConstraints = {})
//@Cache(usage = CacheConcurrencyStrategy.TRANSACTIONAL)
public class Site extends GeneEntity implements Serializable {

	private static final long serialVersionUID = -6681629456715929332L;

	@Column(nullable = false, unique = true, updatable = false)
	private String siteId; // unique

	private String logoImage;

	private String name;

	private String fullName;

	private String tel;

	private String fax;

	private String address;

	private String zip;

	private String emailAddr;

	private String msnNo;

	private String qqNo;

	private String yahooMessagerNo;

	private String skypeNo;

	private String taobaoStoreUrl;

	private String eachnetStoreUrl;

	private String paipaiStoreUrl;

	@Basic(fetch = FetchType.LAZY)
	private String approveDesc;

	@Temporal(value = TemporalType.DATE)
	private Date foundDate;

	@Temporal(value = TemporalType.DATE)
	private Date lastRankedDate;

	private Integer integral = new Integer(0); // 积分

	public String getSiteId() {
		return siteId;
	}

	public void setSiteId(String siteId) {
		this.siteId = siteId;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public Date getFoundDate() {
		return foundDate;
	}

	public void setFoundDate(Date foundDate) {
		this.foundDate = foundDate;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getMsnNo() {
		return msnNo;
	}

	public void setMsnNo(String msnNo) {
		this.msnNo = msnNo;
	}

	public String getQqNo() {
		return qqNo;
	}

	public void setQqNo(String qqNo) {
		this.qqNo = qqNo;
	}

	public String getSkypeNo() {
		return skypeNo;
	}

	public void setSkypeNo(String skypeNo) {
		this.skypeNo = skypeNo;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getYahooMessagerNo() {
		return yahooMessagerNo;
	}

	public void setYahooMessagerNo(String yahooMessagerNo) {
		this.yahooMessagerNo = yahooMessagerNo;
	}

	public String getZip() {
		return zip;
	}

	public void setZip(String zip) {
		this.zip = zip;
	}

	public String getEmailAddr() {
		return emailAddr;
	}

	public String getApproveDesc() {
		return approveDesc;
	}

	public void setEmailAddr(String emailAddr) {
		this.emailAddr = emailAddr;
	}

	public void setApproveDesc(String approveDesc) {
		this.approveDesc = approveDesc;
	}

	public Integer getIntegral() {
		return integral;
	}

	public void setIntegral(Integer integral) {
		this.integral = integral;
	}

	public String getTaobaoStoreUrl() {
		return taobaoStoreUrl;
	}

	public void setTaobaoStoreUrl(String taobaoStoreUrl) {
		this.taobaoStoreUrl = taobaoStoreUrl;
	}

	public String getEachnetStoreUrl() {
		return eachnetStoreUrl;
	}

	public void setEachnetStoreUrl(String eachnetStoreUrl) {
		this.eachnetStoreUrl = eachnetStoreUrl;
	}

	public String getPaipaiStoreUrl() {
		return paipaiStoreUrl;
	}

	public void setPaipaiStoreUrl(String paipaiStoreUrl) {
		this.paipaiStoreUrl = paipaiStoreUrl;
	}

	public String getLogoImage() {
		return logoImage;
	}

	public void setLogoImage(String logoImage) {
		this.logoImage = logoImage;
	}

	public Date getLastRankedDate() {
		return lastRankedDate;
	}

	public void setLastRankedDate(Date lastRankedDate) {
		this.lastRankedDate = lastRankedDate;
	}

}
